viridian: define type for the 'virtual VP assist page'
authorPaul Durrant <paul.durrant@citrix.com>
Fri, 9 Nov 2018 10:39:27 +0000 (11:39 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 9 Nov 2018 10:39:27 +0000 (11:39 +0100)
commit07ded9a515eb27765ca437167f5dc087901112de
tree742e52dfdedb78a5d3d929a9c52e512bebda8144
parent36aec6100f85b6024730654d5973a3d7c28bd8fe
viridian: define type for the 'virtual VP assist page'

The specification [1] defines a type so we should use it, rather than just
OR-ing and AND-ing magic bits.

No functional change.

NOTE: The type defined in the specification does include an anonymous
      sub-struct in the page type but, as we currently use only the first
      element, the struct declaration has been omitted.

[1] https://github.com/MicrosoftDocs/Virtualization-Documentation/raw/live/tlfs/Hypervisor%20Top%20Level%20Functional%20Specification%20v5.0C.pdf

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/hvm/viridian/synic.c
xen/include/asm-x86/hvm/viridian.h